import request from '@/utils/request'

export function getRoleList(params) {
    return request({
        url: '/mogu-admin/role/getList',
        method: 'post',
        data: params
    })
}

export function editRole(params) {
    return request({
        url: '/mogu-admin/role/edit',
        method: 'post',
        data: params
    })
}

export function addRole(params) {
    return request({
        url: '/mogu-admin/role/add',
        method: 'post',
        data: params
    })
}